<template>
    <div>
        <h1>mry 你好 </h1>
        <input type="text" v-model="name">
        <hr>
        <p>{{name}}</p>
    </div>
</template>
<style scoped>
    h1{
        color:pink;
    }
</style>

<script setup>
import {ref} from 'vue';
const name=ref('123')
</script>